package com.youtui.manager.datasource;

/** 数据源threadLocal类 */
public class DataSourceContextHolder {

	private static ThreadLocal<String> contextHolder = new ThreadLocal<String>();

	public static void setDbType(String dbType) {
		contextHolder.set(dbType);
	}

	public static String getDbType() {
		return (contextHolder.get());
	}

	public static void clearDbType() {
		contextHolder.remove();
	}

}
